<!doctype html>
<html>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>司机类型返佣</title>
    <link rel="stylesheet" href="../css/home.css">
    <script src="../js/jquery-1.11.3.min.js"></script>
    <script src="../js/style.js"></script>
    <script src="../js/layer/layer.js"></script>
    <script src="../js/bbx-layer.js"></script>
    <script src="../js/common.js"></script>
    <script src="../js/jquery.select.js"></script>
    <script src="../js/line_model.js"></script>
<!--    <script src="../js/chargemanager/chmanager.js"></script>-->
</head>
<body>
<div class="search-group">
    <div class="search-inline">
        <div class="form-group">
            运营中心：<input type="text" class="form-control" name="operaCenter" id="operaCenter" />
        </div>
        <div class="form-group">
            运输车队：<input type="text" class="form-control" name="transMotorcade" id="transMotorcade" />
        </div>
        <div class="form-group">
            车辆车牌：<input type="text" class="form-control" name="carLicense" id="carLicense" />
        </div>
        <div class="form-group">
            司机姓名：<input type="text" class="form-control" name="driverName" id="driverName" />
        </div>
        <div class="form-group">
            司机手机：<input type="text" class="form-control" name="driverPhone" id="driverPhone" />
        </div>
        <div class="form-group">
            线路名称：<input type="text" class="form-control" name="circuitName" id="circuitName" />
<!--            线路名称：<select class="form-control" name="circuitName" id="circuitName">-->
<!--                <option selected>所有线路</option>-->
<!--            </select>-->
        </div>
        <div class="form-group">
            应用来源:<select class="form-control" name="" id="app">
                <option value="-1" data-value="0,1,2,3">全部</option>
                <option value="0" data-value="0">帮邦行</option>
                <option value="1" data-value="1">公务车</option>
                <option value="2" data-value="2">天山行</option>
                <option value="3" data-value="3">乐滴</option>
            </select>
        </div>
        <div class="form-group">
            <input class="btn" type="button" id="query" value="查询">
            <input class="btn" type="button" id="clear" value="清空">
            <input class="btn" type="button" id="addCharge" value="添加">
            <input class="btn" type="button" id="batDel" value="批量删除">
        </div>
    </div>
</div>
<div class="table">
    <table>
        <thead>
            <tr>
                <th><input type="checkbox" id="checkAll" /></th>
                <th>应用来源</th>
                <th>运营中心</th>
                <th>运输车队</th>
                <th>车牌</th>
                <th>司机手机</th>
                <th>司机姓名</th>
                <th>线路名称</th>
                <th>线路ID</th>
                <th>市内返佣比例(%)</th>
                <th>拼车返佣比例(%)</th>
                <th>包车返佣比例(%)</th>
                <th>寄件返佣比例(%)</th>
                <th>创建时间</th>
                <th>操作</th>
            </tr>
        </thead>
        <tbody id="chargeList">
<!--            <tr>-->
<!--                <td style="display: none">id</td>-->
<!--                <td>厦门运营中心</td>-->
<!--                <td>厦门海峡出租车</td>-->
<!--                <td>闽D55551</td>-->
<!--                <td>13850008956</td>-->
<!--                <td>高先生</td>-->
<!--                <td>广州市至中山</td>-->
<!--                <td>510000_to_528400</td>-->
<!--                <td>0</td>-->
<!--                <td>5%</td>-->
<!--                <td>5%</td>-->
<!--                <td>5%</td>-->
<!--                <td>-->
<!--                    <a class="modify" href="javascript:void(0);" title="">修改</a>-->
<!--                    <a class="del" href="javascript:void(0);" title="">删除</a>-->
<!--                </td>-->
<!--            </tr>-->
        </tbody>
    </table>
</div>
<div class="table-opera">
    <div id="" class="pagecontain">
        <a class="page-prev" href="javascript:void(0);" title="" id='lastPage'>上一页</a>
        <span><em id='curPage'>0</em>/<em id='pages'>0</em></span>
        <a class="page-next" href="javascript:void(0);" title="" id='nextPage'>下一页</a>
    </div>
</div>
<script>
//    $(document).ready(function(){
//        //获取线路下拉列表
//        var param = JSON.stringify({
//            name: '',
//            city_type: -1   //路线类型:-1-全部 0-城际 1-市内
//        });
//        $.ajax({
//            type: "POST",
//            url: "/common/getlines",
//            contentType: "application/json",
//            dataType: "json",
//            data: param,
//            success: function (data) {
//                console.log('获取线路列表信息：'+JSON.stringify(data));
//                if(data.status == 0) {
////                    $('#circuitName').empty();
////                    $('#circuitName').append("<option selected>所有线路</option>");
//                    for(var i=0,lineList= data.lines; i<lineList.length; i++){
//                        var item = '<option>' + lineList[i].line_name + '</option>';
//                        $('#circuitName').append(item);
//                    }
//                }
//                else if(data.status == -501) {  //session过期
//                    window.location.href = '/timeout/index';
//                }
//                else{
//                    bbx_alert_error(data.message);
//                }
//            },
//            error: function (xhr,status,error) {
//                bbx_alert_error("出错啦~");
//                console.log(error);
//            }
//        });
//    });
</script>
</body>
</html>